/*----------------------------------------------------------------------------*\
|
|						Public Interface to Muse Technology
|
|							     www.muse.com
| Author : SunJun 
| Email : sundoom@msn.com
\*----------------------------------------------------------------------------*/

//////////////////////////////////////////////////////////////////////////
// $Id: TerrainPanel.h,v 1.4 2009/01/11 12:06:43 sunjun Exp $
//////////////////////////////////////////////////////////////////////////

#pragma once
#include "Controls.h"
#include "Resource.h"

//////////////////////////////////////////////////////////////////////////
// TerrainPanel window

class TerrainPanel : public CWnd
{
// Construction
public:
	TerrainPanel();
	virtual ~TerrainPanel();

protected:	
	PaneToolBar	mToolBar;
	CSplitterWndEx mSplitterWnd;

protected:
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnDestroy();
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnToolBar(UINT id);
	afx_msg void OnUpdateToolBar(CCmdUI* pCmdUI);
	DECLARE_MESSAGE_MAP()
};

//////////////////////////////////////////////////////////////////////////

class BrushSettingView : public CFormView
{
	DECLARE_DYNCREATE(BrushSettingView)

protected:
	BrushSettingView();           // protected constructor used by dynamic creation
	virtual ~BrushSettingView();

private:
	CSliderCtrl	mSliderRadius;

public:
	enum { IDD = IDD_BRUSH_SETTING };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);

public:
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnSize(UINT nType, int cx, int cy);	
	DECLARE_MESSAGE_MAP()
};

//////////////////////////////////////////////////////////////////////////

class MaterialShell : public CWnd
{
public:
	DECLARE_DYNCREATE(MaterialShell)
	MaterialShell();
	virtual ~MaterialShell();

private:
	CMFCShellTreeCtrl mShellTreeCtrl;

protected:
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnSize(UINT nType, int cx, int cy);	
	DECLARE_MESSAGE_MAP()
};

//////////////////////////////////////////////////////////////////////////

class MaterialView : public CWnd
{
public:
	DECLARE_DYNCREATE(MaterialView)
	MaterialView();
	virtual ~MaterialView();

private:
	CMFCListCtrl mListCtrl;

protected:
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnSize(UINT nType, int cx, int cy);	
	DECLARE_MESSAGE_MAP()
};

//////////////////////////////////////////////////////////////////////////